﻿package {
	public class Config {
		//模式
		public static const MODE_NORMAL:int = 0;
		public static const MODE_HTML:int = 1;
		public static const MODE_UBB:int = 2;
		
		//外观
		public static const TEXT_BORDER:Boolean = true;
		public static const TEXT_BORDER_COLOR:uint = 0x999999;
		public static const MSG_BG_COLOR:uint = 0x33CCFF;
		public static const MSG_ALERT_COLOR:uint = 0xFF3333;
		public static const MSG_BORDER:Boolean = false;
		public static const MSG_BORDER_COLOR:uint = 0xFFFFFF;
		
		//鼠标移上移开
		public static const OVER_INTRO:String = "over_intro";
		public static const OUT_INTRO:String = "out_intro";
		public static const INTRO_COLOR:uint = 0x000000;
		public static const INTRO_BGC:uint = 0xb0e0ff;
		
		//redo和undo保存步骤的次数
		public static const RUDO_STEP:int = 50;
		
		//输入侦听最大数和最大频率
		public static const ADD_MAX_COUNT:int = 9;
		public static const ADD_MAX_TIMER:int = 20;
		
		//各按钮组名称
		public static const MODE_GROUP:String = "mode";
		public static const SYSTEM_GROUP:String = "system";
		public static const OPERATE_GROUP:String = "operate";
		public static const BIU_GROUP:String = "biu";
		public static const ALIGN_GROUP:String = "align";
		public static const DO_GROUP:String = "do";
		public static const FONT_GROUP:String = "font";
		
		//各按钮名称，同时作为按钮打开事件id，关闭事件id为名称+1
		public static const SOURCE_ON:String = "切换源代码编辑模式";
		public static const SOURCE_OFF:String = SOURCE_ON + 1;
		public static const UBB_ON:String = "切换UBB编辑模式";
		public static const UBB_OFF:String = UBB_ON + 1;
		public static const NEW:String = "新建";
		public static const OPEN:String = "打开";
		public static const SAVE:String = "保存";
		public static const CUT:String = "剪切";
		public static const COPY:String = "复制";
		public static const PASTE:String = "粘帖";
		public static const BRUSH:String = "格式刷";
		public static const BOLD_ON:String = "粗体";
		public static const BOLD_OFF:String = BOLD_ON + 1;
		public static const ITALIC_ON:String = "斜体";
		public static const ITALIC_OFF:String = ITALIC_ON + 1;
		public static const UNDERLINE_ON:String = "下划线";
		public static const UNDERLINE_OFF:String = UNDERLINE_ON + 1;
		public static const LEFT:String = "左对齐";
		public static const CENTER:String = "居中对齐";
		public static const RIGHT:String = "右对齐";
		public static const UNDO:String = "撤销";
		public static const REDO:String = "重做";
		public static const FONT_COLOR:String = "颜色";
		public static const FONT_SIZE:String = "大小";
		public static const FONT_FAMILY:String = "字体";
	}
}